package com.fzj.example.order;

/**
 * ClassName: A
 * date: 2019/9/27 16:11
 * Description: TODO
 * @author fanzj@bonree.com
 * @since JDK 1.8
 */
public class A extends  B{
    //final在编译时就确定了其值
    public static final String  A1="A1";
    public static final double A2=Math.PI;
    public static String  A3="A3";
    public static double  A4=Math.PI;
    static{
        System.out.println("static A class block");
    }
    private String A="A";
    {
        System.out.println("A class block param A="+A);
    }
    public A(){
        System.out.println("A default construct: param A="+A);
    }
    public A(String A){
        System.out.println("A construct(A):  param A="+A);
        this.A=A;
    }

}


